package com.zd.home.controller;

import com.zd.common.bean.ZdNovelResponse;
import com.zd.common.pojo.Novel;

import com.zd.vo.HomeNovelVO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/home")
public class HomeController {

    /**
     * 首页小说推荐数据查询接口
     * */
    @GetMapping("/book")
    public ZdNovelResponse<List<HomeNovelVO>> listHomeBook(){
        return null;
    }

    /**
     * 首页新书榜单查询接口
     * */
    @GetMapping("/listNewNovel")
    public ZdNovelResponse<List<Novel>> listNewNovel(){
        return null;
    }

    /**
     * 首页更新榜单查询接口
     * */
    @GetMapping("listUpdateNovel")
    public ZdNovelResponse<List<Novel>> listUpdateNovel(){
        return null;
    }

}
